import 'dart:developer';
import 'package:flutter/foundation.dart';

class LogUtils{
  
  static bool isOpenLog = kDebugMode;

  static void printIn(String obj){
    if (isOpenLog) debugPrint(obj);
  }

  static void logger(String obj,{StackTrace ? stackTrace, int level = 0}){
    if (isOpenLog) log(obj,stackTrace:stackTrace,level:level);
  }
}